<%@page import="com.entity.UserEntity"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<% 
		UserEntity entity =(UserEntity) request.getSession().getAttribute("user");
		if(entity!=null){
			out.write(entity.getUserName() +" 密码"+entity.getUserPass() +" 电话"+entity.getUserTel());
		}else{
			out.write("<a href='login.jsp'>未登录</a>");
		}
	%>
</body>
</html>